<div class="oa-curtain-header">
            <span class="oa-curtain-title">
                    {{'WORKREPORT_SEARCH' | i18n}}-
                    <span>{{if business_group == 'mine'}}{{'WORKREPORT_MY_SUBMIT' | i18n}}{{else if business_group == "received"}} {{'WORKREPORT_SUBMIT_TO_MYSELF' | i18n}}{{else}}{{'WORKREPORT_SUBMIT_ALL' | i18n}}{{/if}}</span>
            </span>
    <a href="javascript:void(0);" class="oa-curtain-close" act="close_oa_curtain">{{'WORKREPORT_BUTTON_CLOSE' | i18n}}</a>
</div>
<div class="oa-curtain-body">
    <table class="oa-search-table">
        <tbody>
        <tr attr="report_type">
            <td>
                <span class="search-table-title">{{'WORKREPORT_BUSINESS_TYPE_SHORT' | i18n}}</span>
            </td>
            <td>
                <div id="checkfomat1" class="ui-check-buttonset">
                    {{each businessTypes as businessType idx}}
                             <span>
                                    <input type="checkbox" id="type_{{businessType.id}}" name="report_type"
                                           class="daily-type" val="{{businessType.id}}"/>
                                    <label for="type_{{businessType.id}}">{{businessType.typeName}}</label>
                            </span>
                    {{/each}}
                </div>
            </td>
        </tr>
        <tr attr="report_date">
            <td style="vertical-align: top;">
                <span class="search-table-title">{{'WORKREPORT_REPORT_DATE' | i18n}}</span>
            </td>
            <td>
                <div id="radiofomat" class="ui-radio-buttonset">
                            <span>
                                 <input type="radio" id="this_week" name="report_date" class="daily-type"
                                        val="thisweek"/>
                                    <label for="this_week">{{'WORKREPORT_DATE_THISWEEK' | i18n}}</label>
                            </span>

                            <span>
                                 <input type="radio" id="last_week" name="report_date" class="daily-type"
                                        val="lastweek"/>
                                    <label for="last_week">{{'WORKREPORT_DATE_LASTWEEK' | i18n}}</label>
                            </span>

                            <span>
                                    <input type="radio" id="this_month" name="report_date" class="daily-type"
                                           val="thismonth"/>
                                    <label for="this_month">{{'WORKREPORT_DATE_THISMONTH' | i18n}}</label>
                            </span>

                            <span>
                                     <input type="radio" id="last_month" name="report_date" class="daily-type"
                                            val="lastmonth"/>
                                    <label for="last_month">{{'WORKREPORT_DATE_LASTMONTH' | i18n}}</label>
                            </span>

                            <span>
                                     <input type="radio" id="custom_date" name="report_date" class="daily-type"
                                            val="others"/>
                                    <label for="custom_date">{{'WORKREPORT_DATE_CUSTOM' | i18n}}</label>
                            </span>
                </div>
            </td>
        </tr>
        <tr attr="report_date_custom" style="display:none;">
            <td></td>
            <td>
                <input class="start-date" type="text" title="{{'WORKREPORT_REPORT_DATE' | i18n}}"/>
                <span>{{'WORKREPORT_DATE_TO' | i18n}}</span>
                <input class="end-date" type="text" title="{{'WORKREPORT_REPORT_DATE' | i18n}}"/>
            </td>
        </tr>
        <tr attr="report_status">
            <td>
                <span class="search-table-title">{{'WORKREPORT_STATUS' | i18n}}</span>
            </td>
            <td>
                <div id="checkfomat2" class="ui-check-buttonset">
                        <span>
                            <input type="checkbox" id="unRead_status" name="report_status" class="daily-type" val="1">
                                <label for="unRead_status">{{'WORKREPORT_STATUS_UNREAD' | i18n}}</label>
                            </span>
                        <span>
                                <input type="checkbox" id="read_status" name="report_status" class="daily-type" val="2">
                                <label for="read_status">{{'WORKREPORT_STATUS_READ' | i18n}}</label>
                            </span>
                </div>
            </td>
        </tr>
        <tr>
            <td style="height:5px;"></td>
            <td style="height:5px;"></td>
        </tr>
        {{if business_group == "subordinate"}}
        <tr attr="report_department">
            <td>
                <span class="search-table-title">{{'WORKREPORT_DEPARTMENT' | i18n}}</span>
            </td>
            <td>
                <input type="text" id="reportDepartmentID"/>
            </td>
        </tr>
        {{/if}}

        {{if business_group == "received" || business_group == "subordinate"}}
        <tr attr="report_user">
            <td>
                <span class="search-table-title">{{'WORKREPORT_SUBMIT_USER' | i18n}}</span>
            </td>
            <td>
                <input id="reportUserID" class="mark_text" title="{{'WORKREPORT_SUBMIT_USER' | i18n}}" placeholder="{{'WORKREPORT_SUBMIT_USER' | i18n}}" />
            </td>
        </tr>
        {{/if}}
        <tr>
            <td colspan="2">
                <a href="javascript:void(0)" class="pg-btn-blue" act="adv-search-btn">{{'WORKREPORT_SEARCH' | i18n}}</a>
            </td>
        </tr>
        </tbody>
    </table>
    <div class="oa-accordion-content oa-search-content clear " style="display: none;">
        <div class="oa-tab-header clear">
            <a href="javascript:void(0)" act="adv-search-back">{{'WORKREPORT_BACK_LIST' | i18n}}</a> &nbsp;&nbsp;&gt;&nbsp;&nbsp;
            <span>{{'WORKREPORT_SEARCH_RESULT' | i18n}}<span class="number">0</span> {{'WORKREPORT_SEARCH_DATA' | i18n}}</span>
        </div>
        <div class="oa-tab-body">

        </div>
        

    </div>
</div>
